package com.qyhl.webtv.module_user.home;


import com.qyhl.webtv.commonlib.entity.intergral.ExchangerRateBean;
import com.qyhl.webtv.commonlib.entity.intergral.IntegralUserInfoBean;
import com.qyhl.webtv.commonlib.entity.user.LuckDrawAdvBean;
import com.qyhl.webtv.commonlib.entity.user.UserInfoBean;

import java.util.List;

/**
 * Created by qyhl on 2017/12/5.
 */

public interface UserCenterContract {
    interface UserCenterView {
        void sendSuccess(String msg);

        void sendError(String msg);

        void integralError(String msg);

        void integralSuccess(IntegralUserInfoBean data);

        void exchangerRateError();

        void exchangerRateSuccess(ExchangerRateBean data);

        void setAdvList(List<LuckDrawAdvBean> beanList);

        void userInfoSuccess(UserInfoBean bean);

        void userInfoError(String msg);

    }

    interface UserCenterPresenter {
        void sendCode(String code);

        void sendSuccess(String msg);

        void sendError(String msg);

        void getIntegralData();

        void getUserInfo(String username);

        void integralError(String msg);

        void integralSuccess(IntegralUserInfoBean data);

        void getExchangerRate();

        void exchangerRateError();

        void exchangerRateSuccess(ExchangerRateBean data);

        void getAdvData();

        void setAdvList(List<LuckDrawAdvBean> beanList);

        void userInfoSuccess(UserInfoBean bean);

        void userInfoError(String msg);

    }

    interface UserCenterModel {
        void sendCode(String code);

        void getAdvData();

        void getIntegralData();

        void getExchangerRate();

        void getUserInfo(String username);

    }
}
